<include file="Public:common" />
<div class="easyui-layout" fit="true">
    <div region="north" style="height: 70px;border-bottom: none;">
        <form id="bt_plan_search_from">
            <table style="height: 100%;">
                <tr>
                    <td><select class="easyui-combobox" data-options="panelHeight:'auto',editable:false,onChange:function(o,n){
                                if(o == '品名'){$('#bt_plan_input_name').attr('name','Q_PRODUCT_like')}else{
                                $('#bt_plan_input_name').attr('name','Q_PO_like')
                                }
                                }"><option>订单号</option><option>品名</option></select></td>
                    <td><input  type="text" name="Q_PO_like" id="bt_plan_input_name"></td>
                    <td>批号</td>
                    <td><input  type="text" name="Q_LOTNO_like"></td>
                    <td rowspan="2"><a href="javascript:void(0)" class="easyui-linkbutton" id="bt_plan_search_btn">查询</a> <a href="javascript:$('#bt_plan_search_from').form('clear');" class="easyui-linkbutton">清空</a> </td>
                </tr>
                <tr>
                    <td>发货时间</td>
                    <td><input class="easyui-datebox"  type="text" value="2013-01-01" name="Q_FHDATE_EGT" maxDate="#F{ $dp.$D('bt_plan_input_FHDATE_ed')||'2014-10-1'}" id="bt_plan_input_FHDATE_st"></td>
                    <td align="center">-</td>
                    <td><input class="easyui-datebox" type="text" name="Q_FHDATE_LT" minDate="#F{ $dp.$D('bt_plan_input_FHDATE_st')}" id="bt_plan_input_FHDATE_ed"></td>
                </tr>
            </table>
        </form>
    </div>
    <div region="center"><table id="bt_plan_grid"></table></div>
</div>
<div id="dd" ></div>
<html:script pack="BT.plan" src="/modual/plan.js"/>